home *** CD-ROM | disk | FTP | other *** search
- ELF_GETARSYM(3E) Last changed: 10-13-98
-
-
- NNAAMMEE
- eellff__ggeettaarrssyymm - Retrieves archive symbol table
-
- SSYYNNOOPPSSIISS
- cccc [_f_l_a_g ...] _f_i_l_e ... --lleellff [_l_i_b_r_a_r_y ...]
-
- ##iinncclluuddee <<lliibbeellff..hh>>
-
- EEllff__AArrssyymm **eellff__ggeettaarrssyymm((EEllff **eellff,, ssiizzee__tt **ppttrr));;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- eellff__ggeettaarrssyymm returns a pointer to the archive symbol table, if one is
- available for the ELF descriptor, eellff. If the archive does not have a
- symbol table, an error occurred, or eellff was null, eellff__ggeettaarrssyymm returns
- a null value. The symbol table is an array of structures that include
- the following members:
-
- cchhaarr **aass__nnaammee;;
-
- ssiizzee__tt
- aass__ooffff;;
-
- uunnssiiggnneedd lloonngg
- aass__hhaasshh;;
-
- These members have the following semantics:
-
- aass__nnaammee Contains a pointer to a null-terminated symbol name.
-
- aass__ooffff This value is a byte offset from the beginning of the
- archive to the member's header. The archive member residing
- at the given offset defines the associated symbol. Values
- in aass__ooffff may be passed as arguments to eellff__rraanndd to access
- the desired archive member.
-
- aass__hhaasshh This is a hash value for the name, as computed by eellff__hhaasshh.
-
- If ppttrr is non-null, the library stores the number of table entries in
- the location to which ppttrr points. This value is set to zero when the
- return value is null. The table's last entry, which is included in
- the count, has a null aass__nnaammee, a zero value for aass__ooffff, and ~~00UULL for
- aass__hhaasshh.
-
- SSEEEE AALLSSOO
- eellff(3E), eellff__ggeettaarrhhddrr(3E), eellff__hhaasshh(3E), eellff__rraanndd(3E), aarr(4)
-
- This man page is available only online.
-
-